<?php

class BlockNode extends Node {
    
    
    public function __construct() {
        parent::__construct();
    }
    
    public function addStatement(Node $statement) {
        $this->addChildToBack($statement);
        $statement->setParent($this);
    }
}